package com.cjx.springcloud.service;

import com.cjx.springcloud.entities.CommonResult;
import com.cjx.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

/**
 * @author cjx
 * @date 2021/6/18 0018 - 16:42
 */
@Component
public class PaymentFallbackSercice implements PaymentService {
    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new CommonResult<>(444,"fuwujiangjifanhui",new Payment(id,"error"));
    }
}
